package com.wlyuan.open.domain.source.service;

import com.wlyuan.open.dto.OpenCombineSyncDTO;
import com.wlyuan.open.dto.OpenTransportSyncDTO;
import com.wlyuan.open.dto.transport.OpenTransportRelationSyncDTO;

/**
 * @author yuanzheng
 */
public interface IOpenTransportService extends IOpenService {
    /**
     * 同步运单
     *
     * @param source
     * @return
     */
    Long sync(OpenTransportSyncDTO source);

    /**
     * 同步拼车单
     *
     * @param source
     * @return
     */
    Long sync(OpenCombineSyncDTO source);

    /**
     * 运单关系
     *
     * @param source
     * @return
     */
    Long sync(OpenTransportRelationSyncDTO source);
}
